package com.example.file_upload.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.nio.file.Path;

public interface FileService {
    String saveFile(MultipartFile file) throws IOException;//单文件上传
    String saveMultiparFile(MultipartFile[] files) throws IOException;//多文件上传
    Path getFilePath(String fileName);//文件下载
}
